import request from '@/utils/request'
// 获取登录
export const login = data => {
  return request({
    method: 'POST',
    url: '/user/queryUser',
    data
  })
}
// 注册
export const register = data => {
  return request({
    method: 'POST',
    url: '/user/addUser',
    data
  })
}
